package com.cxm.homework5.jdkproxy;

public class Test {
    public static void main(String[] args) {
        JdkProxy jdkProxy = new JdkProxy();
        UserDao userDao =  new UserDaoImpl();

        UserDao userDao1 = (UserDao) jdkProxy.createProxy(userDao);
        userDao1.add();
        userDao1.delete();
    }

}
